gpio_led: add support for inverted polarity
authorIgor Grinberg <[email protected]>
Thu, 7 Nov 2013 23:03:52 +0000 (01:03 +0200)
committerTom Rini <[email protected]>
Mon, 25 Nov 2013 15:41:52 +0000 (10:41 -0500)
commit9dfdcdfed4726f94fc38d94f29f8214f38058576
tree7f621f7ada71e5ee3aad125245e52633e938d2e0
parent6516f81b64c71ab2be61f304d0e13dd84f730484
gpio_led: add support for inverted polarity

Some GPIO connected LEDs have inverted polarity.
Introduce new config option: CONFIG_GPIO_LED_INVERTED_TABLE for the
specifying the inverted GPIO LEDs list and add support for this in the
gpio_led driver.

Signed-off-by: Igor Grinberg <[email protected]>
Tested-by: Ilya Ledvich <[email protected]>
README
drivers/misc/gpio_led.c